package com.ph.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ph.pojo.Department;

import java.util.List;

public interface DepartmentService extends IService<Department> {
    List<Department> findByTree();
    List<Department> findByParentId(Integer parentId);
}
